﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using App.Business.Entities.Party;
using App.Business.Party;

namespace App.Business.Implementation.Party
{
    public class CompanyService : ICompanyService
    {
        public IList<Company> GetActiveCompanies()
        {
            return new List<Company>()
                       {
                           {
                               new Company()
                                   {
                                       Id = 1,
                                       Name = "Some Company a",
                                       Addresses = new List<Address>()
                                                       {
                                                           new Address()
                                                               {
                                                                   City = "Prague",
                                                                   Country = "CZE",
                                                                   Number = "332/2",
                                                                   Street = "anonymouse street"
                                                               },
                                                               new Address()
                                                               {
                                                                   City = "Prague",
                                                                   Country = "CZE",
                                                                   Number = "332/2",
                                                                   Street = "anonymouse street"
                                                               },
                                                               new Address()
                                                               {
                                                                   City = "Prague",
                                                                   Country = "CZE",
                                                                   Number = "332/2",
                                                                   Street = "anonymouse street"
                                                               }
                                                       }
                                   }
                               },
                           new Company()
                               {
                                   Id = 2,
                                   Name = "Some Company b",
                                   Addresses = new List<Address>()
                                                   {
                                                       new Address()
                                                           {
                                                               City = "FFM",
                                                               Country = "GER",
                                                               Number = "666-655",
                                                               Street = "anonymouse street"
                                                           },
                                                           new Address()
                                                               {
                                                                   City = "Prague",
                                                                   Country = "CZE",
                                                                   Number = "332/2",
                                                                   Street = "anonymouse street"
                                                               }
                                                   }
                               }

                       };
        }

        public void SetActiveCompanies(IList<Company> companies)
        {
            // dummy
        }

        public void SetActiveCompany(Company company)
        {
            // dummy
        }

        public void OverloadedMethod()
        {
            // dummy
        }

        public void OverloadedMethod(int i)
        {
            // dummy
        }

        public void OverloadedMethod(int i, int i2)
        {
            // dummy
        }
    }
}
